const { DataTypes } = require("sequelize");
const sequelize = require("./index");

const EnWord = sequelize.define(
    "enword",
    {
        word: {
            type: DataTypes.STRING,
            allowNull: false,
            primaryKey: true,
        },
        translation: {
            type: DataTypes.STRING,
        },
    },
    {
        timestamps: false,
    }
);

EnWord.associate = ({}) => {};

module.exports = EnWord;
